package com.unit.test.service;


import com.unit.test.model.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author alexhu
 */
@Service
public class ServiceB {
    @Autowired
    UserService userService;


    public User getUserById(Integer userid) {
        return userService.getById(userid);
    }

}
